home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 3 / ct-rom iiib.zip / ct-rom iiib / WINDOWS / UTILITY / DIVERSEN / PBBSW30 / POWRMAIN.EXE / TESTZIP.BAT < prev    next >
DOS Batch File  |  1993-07-26  |  593b  |  33 lines

  1. echo off
  2. pkunzip -t %1 >%2
  3.  
  4. If errorlevel 51 goto Good
  5. If errorlevel 50 goto Error
  6. If errorlevel 11 goto Error
  7. If errorlevel 10 goto Error
  8. If errorlevel 9 goto Error
  9. If errorlevel 8 goto Error
  10. If errorlevel 7 goto Error
  11. If errorlevel 6 goto Error
  12. If errorlevel 5 goto Error
  13. If errorlevel 4 goto Error
  14. If errorlevel 3 goto Error
  15. If errorlevel 2 goto Error
  16. If errorlevel 1 goto Error
  17. if errorlevel 0 goto Good
  18.  
  19. :ERROR
  20. Echo Error In Zip
  21. Copy %2 %3 >NUL
  22. Goto Exit
  23.  
  24. :GOOD
  25. Echo Zip is good
  26. cd %7
  27. del file_id.diz
  28. pkunzip -o %1 file_id.diz
  29. goto :Exit
  30.  
  31. :Exit
  32. Cd\Powrbbs
  33.